Benjamin Otte [Mon, 2 Dec 2013 12:41:15 +0000 (13:41 +0100)]
button: Split out function
This is in preparation of the following cleanup commits.
Benjamin Otte [Mon, 2 Dec 2013 20:21:22 +0000 (21:21 +0100)]
button: Don't emit a signal on broken grabs
We don't emit one on grab notify, so we don't want one for broken grabs
either.
Philip Withnall [Mon, 2 Dec 2013 10:42:00 +0000 (10:42 +0000)]
gdkwindow: Remove an unused assignment
The show variable is assigned to in both branches of an if block a
little further down.
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Mon, 2 Dec 2013 10:41:38 +0000 (10:41 +0000)]
gdkwindow: Remove an unused assignment
scale is only used if HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE is defined.
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Tue, 26 Nov 2013 15:06:48 +0000 (15:06 +0000)]
gtkprintunixdialog: Remove a redundant (GFile != NULL) check
g_file_new_for_uri() is guaranteed to return a non-NULL value, so this
check was redundant, and was confusing the static analyser into
returning a false positive, where it thought the file could be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:37:15 +0000 (17:37 +0000)]
gtktreeselection: Eliminate a dead assignment
This is technically a dead assignment, but is nice to retain for
clarity. Moving it to the variable definition shuts scan-build up.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:36:16 +0000 (17:36 +0000)]
gtkthemingengine: Eliminate a dead assignment
This is technically a dead assignment, but is nice to retain for
clarity. Moving it to the variable definition shuts scan-build up.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:35:04 +0000 (17:35 +0000)]
gtkthemingengine: Fix a definite use of an uninitialised variable
At this point, segments[1] is always uninitialised, and is used to
initialise itself. Looking at the code in the branch above, this appears
to have been a typo from segments[0], as segments[1] seems to typically
be 2 * segments[0].
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:33:03 +0000 (17:33 +0000)]
gtkpapersize: Reformat #if preprocessor commands
This eliminates some false positive warnings from scan-build, which was
not interpreting the #ifs and hence warning about unbalanced #endifs.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:31:28 +0000 (17:31 +0000)]
gtkmenu: Fix potential use of uninitialised variables
The child_height out variable is only valid if compute_child_offset()
returns TRUE.
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:25:25 +0000 (17:25 +0000)]
gtktreeviewaccessible: Fix potential uses of uninitialised variables
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Matthias Clasen [Mon, 2 Dec 2013 02:45:17 +0000 (21:45 -0500)]
GtkRevealer: Fix size allocation with disabled animation
When animation is disabled, we use 'none' as the effective
transition type. So far, this transition type failed to change
the size request, causing the revealer to always take up the
space of the child, even when the child is not shown.
https://bugzilla.gnome.org/show_bug.cgi?id=719568
Matthias Clasen [Sun, 1 Dec 2013 23:33:38 +0000 (18:33 -0500)]
Fix the AtkImage implementation for GtkIconView items
We were returning uninitialized values for image size and
position.
Found in a pile of patches in
https://bugzilla.gnome.org/review?bug=712760
Matthias Clasen [Sun, 1 Dec 2013 22:54:00 +0000 (17:54 -0500)]
Code cleanup
Don't compare booleans to FALSE.
Simon Feltman [Thu, 28 Nov 2013 00:54:09 +0000 (16:54 -0800)]
annotations: Set GtkTreeModelFilterModifyFunc value argument to out
Use (out caller-allocates) annotation for the "value" argument to
GtkTreeModelFilterModifyFunc. This is needed because GI based language
bindings coerce GValue input args into native types and there is no
opportunity to set the value within the GValue itself.
https://bugzilla.gnome.org/show_bug.cgi?id=719460
Marco Brito [Sat, 30 Nov 2013 11:36:00 +0000 (11:36 +0000)]
Add class toolbar before the style context is created for the widget.
The call to gtk_button_set_relief() in gtk_toolbar_init() indirectly
used the style context of the half-created widget, before we had a
chance to add the "toolbar" style class to it.
Reorder gtk_toolbar_init() to ensure that the proper style class is
set first.
https://bugzilla.gnome.org/show_bug.cgi?id=719595
Christian Persch [Fri, 29 Nov 2013 12:13:34 +0000 (13:13 +0100)]
infobar: Fix visibility when enable-animations=false
When enable-animations is false, the revealer's child-revealed property is
notified immediately, so make sure to connect to it before toggling the
revealer.
https://bugzilla.gnome.org/show_bug.cgi?id=719510
Aaron Hamilton [Thu, 28 Nov 2013 07:26:00 +0000 (07:26 +0000)]
Correct the deprecation annotation for gtk_widget_modify_bg
It was pointing to a nonexisting function.
https://bugzilla.gnome.org/show_bug.cgi?id=719469
Matthias Clasen [Sun, 1 Dec 2013 21:54:20 +0000 (16:54 -0500)]
Don't use depeprecated api
GtkPrintUnixDialog and testtitlebar were still using
gtk_widget_set_margin_left/right. Switch them over to
gtk_widget_set_margin_start/end.
Matthias Clasen [Sun, 1 Dec 2013 21:19:17 +0000 (16:19 -0500)]
message dialog: Make labels wrap at a reasonable length
Several labels in GtkMessageDialog were set to wrap, but
did not set max-width-chars. Fix that.
Matthias Clasen [Sun, 1 Dec 2013 21:18:07 +0000 (16:18 -0500)]
about dialog: Make labels wrap at reasonable length
Several labels in GtkAboutDialog are set to wrap, but
don't set a value for max-width-chars. Fix that.
Matthias Clasen [Sun, 1 Dec 2013 18:58:39 +0000 (13:58 -0500)]
places sidebar: Use a symbolic desktop icon
This was pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=719505
Chun-wei Fan [Fri, 29 Nov 2013 01:53:49 +0000 (09:53 +0800)]
build/win32/vs*/README.txt: Re-word a bit
Use PATH rather than path to make things clearer
Juan Pablo Ugarte [Thu, 28 Nov 2013 20:01:18 +0000 (17:01 -0300)]
GtkAboutDialog: fixed calling gtk_about_dialog_set_logo_icon_name()
with a NULL icon_name. Now it will actually use the default
window icon set as mention in the docs
Juan Pablo Ugarte [Thu, 28 Nov 2013 19:56:11 +0000 (16:56 -0300)]
GtkIconCache: find_image_offset() return 0 if icon_name is NULL.
This avoid a crash calling gtk_about_dialog_set_logo_icon_name() with a NULL icon_name.
Manuel Bachmann [Wed, 27 Nov 2013 10:14:16 +0000 (11:14 +0100)]
Fix CSD check for Win32
Win32 does not have alpha channel currently ; fix the check
for this, so trying to enable CSDs on this platform will
not "succeed" and crash the app anymore.
Partially fixes gtk3-widget-factory.
Chun-wei Fan [Wed, 27 Nov 2013 10:05:32 +0000 (18:05 +0800)]
Visual C++ Projects: Add rules to generate GTK DBus sources
Since commit
7c2a5072 the gtkdbusgenerated.[c|h] are not included in the
dist tarball and thus have to be generated, which broke the Visual C++
builds.
This patch adds property sheets and custom build rules for the Visual C++
projects so that gtkdbusgenerated.[c|h] will be generated upon building the
GTK+ DLL sources.
This also tells people building GTK+ from the projects that they need to
have Python 2/3 installed and the Python interpretor needs to be in their
PATH before building GTK+ from the projects.
Chun-wei Fan [Wed, 27 Nov 2013 08:46:45 +0000 (16:46 +0800)]
Update GDK-Broadway MSVC Projects
-Improve optimization a bit for broadwayd, by enabling link time code
generation
-Add PlatformToolset tag for the Visual C++ 2010 projects, to ease
transition to Visual C++ 2012/2013
Shantha kumar [Wed, 27 Nov 2013 08:10:06 +0000 (13:40 +0530)]
Tamil Translations Updated
Matthias Clasen [Thu, 21 Nov 2013 00:40:17 +0000 (19:40 -0500)]
Don't distribute gdbus-generated sources
These are supposed to be regenerated at build time,
to avoid dependencies on the dist-systems glib version.
Ryan Lortie [Fri, 15 Nov 2013 14:32:19 +0000 (09:32 -0500)]
defaultvalue test: ignore show-desktop
Ignore the "show-desktop" property on GtkPlacesSidebar for the
defaultvalue test.
Currently, "make check" is passing because it runs the test under a xvfb
with no XSETTINGS provider, so we see the Gtk default value. No matter
what we set the default value to in Gtk, however, there will be some
desktop environment in which someone running the installed test outside
of an xvfb will get the wrong result. Best to ignore it.
https://bugzilla.gnome.org/show_bug.cgi?id=712302
Matthias Clasen [Tue, 26 Nov 2013 18:54:44 +0000 (13:54 -0500)]
Change the default for "show-desktop" back to TRUE
Change the GtkSettings default for "shell-shows-desktop" back to TRUE
and also change the default value of the "show-desktop" property on
GtkPlacesSidebar so that the defaultvalue test passes.
https://bugzilla.gnome.org/show_bug.cgi?id=712302
Michael Wood [Mon, 25 Nov 2013 15:59:41 +0000 (15:59 +0000)]
bindings: Fix stray semicolons in CSS example for bindings
Semicolon shouldn't be at the end of binding set
Benjamin Otte [Mon, 25 Nov 2013 20:11:56 +0000 (21:11 +0100)]
x11: Don't crash if a window is on an unmanaged screen
_gdk_x11_display_screen_for_xrootwin() can return NULL. If so, return
NULL from gdk_x11_window_foreign_new_for_display().
https://bugzilla.gnome.org/show_bug.cgi?id=709716
Carlos Garnacho [Fri, 22 Nov 2013 17:33:02 +0000 (18:33 +0100)]
x11: keep track of the screen pixel size by calculating the bounding box of monitors
This is so we always have the latest information given by XRandR (or other), and not
rely on Core protocol information that might not have been updated yet.
This is specially visible when a monitor is connected (less frequent) or disconnected
(much more frequent), callbacks on GdkScreen::monitors-changed that call
gdk_screen_get_width/height() could get the screen size previous to the monitor
rearrangement.
So in order to fix this, keep track of the latest monitors information, and calculate
the bounding box in order to know the screen size.
https://bugzilla.gnome.org/show_bug.cgi?id=715029
Marek Kasik [Fri, 22 Nov 2013 10:31:25 +0000 (11:31 +0100)]
printing: Fix memory leak when listing Avahi printers
Return values of g_variant_get_child_value() were not unreffed
correctly together with one value returned by g_variant_get().
Use g_variant_get_data() instead of copying each byte separately.
https://bugzilla.gnome.org/show_bug.cgi?id=712799
Manuel Bachmann [Mon, 25 Nov 2013 03:47:51 +0000 (04:47 +0100)]
Broadway - Fix UNIX/Win32 detection
Finally fix this check so unnecessary headers aren't needed.
Benjamin Otte [Mon, 25 Nov 2013 02:49:13 +0000 (03:49 +0100)]
tests: Add max-width-chars to testwindowsize test
Benjamin Otte [Mon, 25 Nov 2013 02:46:25 +0000 (03:46 +0100)]
menu: Do a proper min height request
The minimum height is the size of one menu item plus the arrows, not the
minimum size of all menu items.
https://bugzilla.gnome.org/show_bug.cgi?id=691974
https://bugzilla.gnome.org/show_bug.cgi?id=694859
Benjamin Otte [Mon, 25 Nov 2013 01:40:05 +0000 (02:40 +0100)]
window: Don't assume 640x480 max default size
Instead, use the monitor's work area.
This might have unforseen side effects that warrant a later revert, such
as:
- Apparently some WMs assume maximizing when a window is maximum screen
size.
- WMs might not shrink the window by the decorations' size when it tries
to be fullscreen.
- Applications might have buggy size request code that causes weirdly
sized windows.
Benjamin Otte [Mon, 25 Nov 2013 01:39:13 +0000 (02:39 +0100)]
stack: Fix crash on g_object_get("visible-child")
priv->visible_child is not a GtkWidget but a custom struct holding the
widget. So use the getter instead.
Benjamin Otte [Thu, 21 Nov 2013 15:24:27 +0000 (16:24 +0100)]
treemenu: Implement height-for-width properly
Philip Withnall [Wed, 20 Nov 2013 17:39:21 +0000 (17:39 +0000)]
testsuite: Fix potential strcmp() against NULL
Use g_strcmp0() instead.
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:25:48 +0000 (17:25 +0000)]
gtktreeviewaccessible: Fix a potential division by zero
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:20:33 +0000 (17:20 +0000)]
gdkwindow: Fix potential uses of uninitialised variables
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Emmanuele Bassi [Mon, 18 Nov 2013 11:05:39 +0000 (11:05 +0000)]
pixbuf-engine: Clean up error conditions and destructors
Simplify the error checks and move all common behaviour into a utility
function.
https://bugzilla.gnome.org/show_bug.cgi?id=712536
Emmanuele Bassi [Mon, 18 Nov 2013 11:04:37 +0000 (11:04 +0000)]
pixbuf-engine: Improve ThemePixbuf clean up functions
Make theme_pixbuf_destroy() NULL-safe like g_free(), and add a clear
function in the spirit of the g_clear_* family of functions.
https://bugzilla.gnome.org/show_bug.cgi?id=712536
Jehan [Sun, 17 Nov 2013 11:56:44 +0000 (00:56 +1300)]
Themes with specified gap images but no actual file crash.
https://bugzilla.gnome.org/show_bug.cgi?id=712536
Carlos Garnacho [Fri, 27 Sep 2013 17:32:54 +0000 (19:32 +0200)]
x11: Unset GdkX11DeviceXI2 scroll valuators on device change
Scroll valuators were being just appended again and again, leading
to 1) a growing memory issue anytime a device changed 2) the first
scroll valuators to stay permanent on the application lifetime, as
the first stored valuators would always match.
https://bugzilla.gnome.org/show_bug.cgi?id=705203
Tim Lunn [Thu, 21 Nov 2013 20:16:58 +0000 (07:16 +1100)]
build: bump requirement on gobject-introspection to 1.39.0
https://bugzilla.gnome.org/show_bug.cgi?id=713044
Jasper St. Pierre [Thu, 21 Nov 2013 17:58:47 +0000 (12:58 -0500)]
wayland: Sync transient-for on xdg-surface show as well...
Jasper St. Pierre [Thu, 21 Nov 2013 17:03:18 +0000 (12:03 -0500)]
wayland: Allow set_title after initial showing
and fix the ordering of title / app_id
Jasper St. Pierre [Thu, 21 Nov 2013 18:00:45 +0000 (13:00 -0500)]
Update xdg-shell.xml
Marek Kasik [Thu, 21 Nov 2013 14:27:33 +0000 (15:27 +0100)]
printing: Don't wake up Avahi printers unnecessarily
Use info available in Avahi TXT records for creation of gtk printer
and request details when needed (through gtk_printer_request_details()).
If there is a printer advertised on Avahi by a remote CUPS server
try to get its PPD file at first or get its capabilities through an IPP
request if it fails.
https://bugzilla.gnome.org/show_bug.cgi?id=712751
Carlos Garnacho [Wed, 20 Nov 2013 11:53:57 +0000 (12:53 +0100)]
combobox: Set GDK_SCROLL_MASK on the eventbox in appears-as-list mode
This is so the scroll wheel works in both modes, and there's no behavioral
change depending on a style property.
https://bugzilla.gnome.org/show_bug.cgi?id=702663
Jasper St. Pierre [Tue, 19 Nov 2013 23:59:50 +0000 (18:59 -0500)]
Update xdg-shell.xml
Jasper St. Pierre [Tue, 19 Nov 2013 23:55:26 +0000 (18:55 -0500)]
wayland: Don't assert fail in DND
This needs completion, sure thing, but let's try to just not fall
flat on our face first.
Jasper St. Pierre [Tue, 19 Nov 2013 23:27:54 +0000 (18:27 -0500)]
wayland: Don't recreate the gtk_surface on every show
It's illegal.
Jasper St. Pierre [Tue, 19 Nov 2013 23:38:12 +0000 (18:38 -0500)]
Revert "stack: respect gtk-enable-animations setting"
It already respected enable-animations.
This reverts commit
fb9ff442997f02ee2d6ad0eae0321a961e96f56f.
Jasper St. Pierre [Tue, 19 Nov 2013 21:24:57 +0000 (16:24 -0500)]
wayland: Set DBus properties after we've constructed the xdg_surface
Jasper St. Pierre [Tue, 19 Nov 2013 17:36:12 +0000 (12:36 -0500)]
wayland: Fix invalid cast in transient_for
Jonh Wendell [Mon, 18 Nov 2013 19:15:12 +0000 (17:15 -0200)]
treeview: Use CSS property "border-top-color" to draw grid lines
This allows themes to customize the grid line colors in treeviews.
https://bugzilla.gnome.org/show_bug.cgi?id=415415
Matthias Clasen [Tue, 19 Nov 2013 04:19:27 +0000 (23:19 -0500)]
stack: respect gtk-enable-animations setting
https://bugzilla.gnome.org/show_bug.cgi?id=712632
Christian Persch [Mon, 18 Nov 2013 20:21:49 +0000 (21:21 +0100)]
revealer: Respect gtk-enable-animations setting
https://bugzilla.gnome.org/show_bug.cgi?id=712632
Matthias Clasen [Tue, 19 Nov 2013 01:59:05 +0000 (20:59 -0500)]
Bump version
Matthias Clasen [Mon, 18 Nov 2013 23:24:16 +0000 (18:24 -0500)]
3.11.2
Benjamin Otte [Tue, 19 Nov 2013 01:27:47 +0000 (02:27 +0100)]
reftests: Fix rendering issues with border-image reftest
When downscaling images, Cairo apparently uses algorithms different
enough to make this test trip over. So add the downscaled image as the
reference instead of downscaling the previous reference image.
Fixes the border-image reftest. For real now.
Benjamin Otte [Tue, 19 Nov 2013 00:43:35 +0000 (01:43 +0100)]
reftests: Fix border-image-repeat test
The new downscaling code in Cairo doesn't allow this test, so we remove
the CSS that made the border downscaled.
So the test does test less now, but it still tests the repeat modes of
border images.
Carlos Garnacho [Mon, 18 Nov 2013 21:12:18 +0000 (22:12 +0100)]
gdk: Ignore crossings generated by passive grabs when resetting scroll axes
Passive grabs may take pointer focus out of the application, even though
the pointer didn't leave the window, but those events still trigger resetting
of the scroll axes. This is most visible with compiz, and possibly other
reparenting WMs, where passive grabs happen on the WM-managed window that
is a parent of the application toplevel.
As it is not possible to have scrolling happening on the timespan a passive
grab takes action, it is entirely safe for GTK+ to assume none happened if
it gets a crossing event of that nature.
https://bugzilla.gnome.org/show_bug.cgi?id=699574#c33
Jasper St. Pierre [Mon, 11 Nov 2013 23:02:19 +0000 (18:02 -0500)]
wayland: Replace wl_shell_surface with xdg_shell
William Hua [Sat, 16 Nov 2013 15:05:04 +0000 (10:05 -0500)]
Fix missing return and closing brace.
https://bugzilla.gnome.org/show_bug.cgi?id=712514
Matthias Clasen [Mon, 18 Nov 2013 01:15:54 +0000 (20:15 -0500)]
GtkBuilder: Make IDs optional
One requirement of .ui files is that each object must have an ID,
even if it is never referred to or directly loaded from the code.
This makes editing .ui files much more onerous than it has to be,
due to the frequent need to invent new IDs, while avoiding
clashes.
This commit makes IDs optional in the XML. They only need to
be provided for objects which are referred to or explictly loaded
from the code. Since GtkBuilder needs IDs for its own internal
accounting, we create IDs of the form ___object_N___ if not
specified in the XML.
https://bugzilla.gnome.org/show_bug.cgi?id=712553
Matthias Clasen [Mon, 18 Nov 2013 01:28:49 +0000 (20:28 -0500)]
Document GTK_THEME
Yosef Or Boczko [Mon, 18 Nov 2013 00:31:43 +0000 (02:31 +0200)]
Fix doc build
Jasper St. Pierre [Sun, 17 Nov 2013 23:48:28 +0000 (18:48 -0500)]
gtkwindow: Fix cast warning
Jasper St. Pierre [Sun, 17 Nov 2013 23:47:51 +0000 (18:47 -0500)]
gtkwidget: Fix up some deprecation warnings
Piotr Drąg [Sun, 17 Nov 2013 17:56:32 +0000 (18:56 +0100)]
Updated POTFILES.skip
Carlos Garnacho [Sat, 16 Nov 2013 23:14:06 +0000 (00:14 +0100)]
x11: Add extra debug spew on XI2 crossing and button events
This information will be useful in case someone stumbles on a situation
similar to https://bugzilla.gnome.org/show_bug.cgi?id=699574, so we can
figure out where do the crossing events come from or go to easily.
Carlos Garnacho [Sat, 16 Nov 2013 22:32:58 +0000 (23:32 +0100)]
gdk: be more selective resetting scroll events
It's been reported in several applications that scrolling feels jerky
since commit
cc7b3985b3e31.
Investigation reported that the combination of passive 4-7 button grabs
on the toplevel and the presence of native subwindows might trigger
too often crossing events from the child window to the toplevel and
back as scroll "buttons" trigger the passive grab. Those crossing events
would reset the scroll valuators rendering scrolling from jerky on
touchpads (where there's intermediate smooth events between the emulated
button ones) to ineffective on regular mouse wheels (where the crossing
event would reset the valuators right before the single smooth scroll
event we get is delivered)
So, only reset scroll valuators when the pointer enters the toplevel
(we only care about this when the pointer is on the window after it's
been possibly scrolling somewhere else), and it doesn't come from an
inferior.
The situations where this happened varied though, the native subwindow
could be one created explicitly by the application, or created indirectly
through gdk_window_ensure_native(). The latter was mainly the case for
evolution (through gtk_selection_set_owner()) and any GtkScrolledWindow
under the oxygen-gtk3 theme (through gdk_window_set_composited())
https://bugzilla.gnome.org/show_bug.cgi?id=699574
Matthias Clasen [Sat, 16 Nov 2013 21:41:26 +0000 (16:41 -0500)]
Use window icons for fallback
When the window has an icon, use it for the fallback menu
button.
Matthias Clasen [Sat, 16 Nov 2013 22:03:01 +0000 (17:03 -0500)]
Add the new exampleapp to the docs
Matthias Clasen [Sat, 16 Nov 2013 21:09:56 +0000 (16:09 -0500)]
Add another example application
This new step sets the headerbar as titlebar, and enables
fallback for the app menu.
Matthias Clasen [Sat, 16 Nov 2013 20:00:16 +0000 (15:00 -0500)]
Small doc improvements
Matthias Clasen [Sat, 16 Nov 2013 19:49:21 +0000 (14:49 -0500)]
Fix fallback menubar size allocation
When the menubar inserted by GtkApplicationWindow is the widest
widget in a csd window, its allocation gets cut short. Fix this
by taking the decoration size into account while calculating
the size request (it is implicitly taken into account in the
size allocation phase by _gtk_window_set_allocation).
Matthias Clasen [Sat, 16 Nov 2013 19:46:10 +0000 (14:46 -0500)]
GtkWindow: better app menu fallback for CSD
Do the menubutton for app menu fallback ourselves in GtkWindow
for the csd, non-custom titlebar case. This fits better with
the way we handle other title buttons. Themes have control
over the placement of this button by placing menu in the
decoration-button-layout style property.
Matthias Clasen [Sat, 16 Nov 2013 19:08:53 +0000 (14:08 -0500)]
Trivial cleanup
Matthias Clasen [Sat, 16 Nov 2013 15:52:23 +0000 (10:52 -0500)]
Trivial whitespace fix
Piotr Drąg [Sat, 16 Nov 2013 17:46:19 +0000 (18:46 +0100)]
Updated Polish translation
Daniel Mustieles [Sat, 16 Nov 2013 17:36:51 +0000 (18:36 +0100)]
Updated Spanish translation
Daniel Mustieles [Sat, 16 Nov 2013 17:36:14 +0000 (18:36 +0100)]
Updated Spanish translation
Matthias Clasen [Sat, 16 Nov 2013 06:55:01 +0000 (01:55 -0500)]
Test headerbar app menu fallback
Make the sunny example useful by giving it a header bar
with app menu fallback. To test this under gnome-shell,
set APP_MENU_FALLBACK=1 in the environment.
Matthias Clasen [Sat, 16 Nov 2013 06:52:04 +0000 (01:52 -0500)]
GtkApplicationWindow: Avoid double fallback for the app menu
If we have a header bar which has the app menu fallback
enabled, don't add the app menu to the fallback menubar.
Matthias Clasen [Sat, 16 Nov 2013 06:50:39 +0000 (01:50 -0500)]
GtkHeaderBar: Add a fallback app menu implementation
Allow showing the fallback app menu with a menu button
in the header bar. Applications have to explicitly enable
this by calling gtk_header_bar_set_show_fallback_app_menu.
Matthias Clasen [Sat, 16 Nov 2013 06:39:41 +0000 (01:39 -0500)]
GtkWindow: Make titlebar widget available privately
This will be used in GtkApplicationWindow in the
following commits.
Matthias Clasen [Sat, 16 Nov 2013 04:41:09 +0000 (23:41 -0500)]
GtkButton: don't propagate double-clicks
It is basically always unexpected to have a container handle
double-clicks on a widget that handles single-clicks itself.
Dimitris Spingos [Sat, 16 Nov 2013 04:14:44 +0000 (06:14 +0200)]
Updated Greek translation
Rafael Ferreira [Sat, 16 Nov 2013 03:10:07 +0000 (01:10 -0200)]
Updated Brazilian Portuguese translation
Martin Renold [Sat, 16 Nov 2013 00:49:55 +0000 (01:49 +0100)]
tests: Make testinput example not compress events
Martin Renold [Sat, 16 Nov 2013 00:26:29 +0000 (01:26 +0100)]
testgtk: Don't use GDK_POINTER_MOTION_HINT_MASK anymore
Martin Renold [Sat, 16 Nov 2013 00:25:27 +0000 (01:25 +0100)]
gdk: Document event compression better
Advise against using GDK_POINTER_MOTION_HINT_MASK.
Add pointers to gdk_window_set_event_compression() to the documentation.